﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace ChequeManagement
{
    public partial class BankTest : Form
    {
        public BankTest()
        {
            InitializeComponent();
        }

        private void BankTest_Load(object sender, EventArgs e)
        {
            BLL.BLLBank bankObj = new BLL.BLLBank();
            bankObj.BankName = "بانک ملت ی";

            BLL.BLLBankFactory bankFactoryObj = new BLL.BLLBankFactory();
            bankFactoryObj.Add(bankObj);

            bankObj.BankName = "بانک ملت";
            bankFactoryObj.Edit(bankObj, bankObj.BankID);

            bankFactoryObj.Remove(bankObj.BankID);
        }
    }
}
